<template>
	<view class="mainpadding">
		<u-popup :show="show" @close="close">
			<view>
				<view class="mainpadding xiahuaxian dingwei">
					<view class="sanshier fonweight xiaohei textcenter">分享到</view>
					<view class="guandys" @click="close">
						<u-icon name="close"></u-icon>
					</view>
					<view class="mainpadding">
						<view class="flexleft ">
							<view class="margin_right6">
								<view class="weixin marginauto"></view>
								<view class="xiaohei ershiba nofonweight textcenter margin_top1">微信</view>
							</view>
							<view class="flexleft">
								<view class="">
									<view class="pengyouq marginauto"></view>
									<view class="xiaohei ershiba nofonweight textcenter margin_top1">朋友圈</view>
								</view>
							</view>
						</view>
						
					</view>
				</view>
			</view>
		</u-popup>
		<view class="flexright" @click="show = true">
			<view class="xiaolbtn">分享</view>
		</view>
		<u-parse :content="content"></u-parse>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				show: false,
				content: `
									<p>露从今夜白，月是故乡明</p>
									<img src="https://cdn.uviewui.com/uview/swiper/2.jpg" />
								`

			}
		},
		methods: {
			close() {
				this.show = false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.guandys{
		position: absolute;
		right: 30rpx;
		top: 30rpx;
	}
	.xiaolbtn {
		width: 68rpx;
		height: 40rpx;
		background: #1BA95B;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		font-size: 24rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
	}
</style>